package com.example.springdemo0921.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

@SpringBootApplication
public class SpringDemo0921Application {

    public static void main(String[] args) {
        ApplicationContext run = SpringApplication.run(SpringDemo0921Application.class, args);
        Object productRateConfig = run.getBean("productRateConfig");
        System.out.println("productRateConfig: "+productRateConfig.toString());
    }

}
